﻿using System;
using System.Collections.Generic;
using System.Text;

namespace mozhi.smarterp.BasicData.Currencies
{
    public class Currency : AggregateRootBase
    {
        /// <summary>
        /// 币别符号
        /// </summary>
        public string Symbol { private set; get; }

        private Currency() { }

        public Currency(Guid id, string code, string name, string symbol, bool activated) : base(id, code, name, activated)
        {
            Id = id;
            Code = code;
            Name = name;
            Symbol = symbol;
            Activated = activated;

            Validate();
        }
    }
}
